package com.homepage.repository;

import com.homepage.domain.HeadlineImage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * Spring Data SQL repository for the HeadlineImage entity.
 */
@SuppressWarnings("unused")
@Repository
public interface HeadlineImageRepository extends JpaRepository<HeadlineImage, Long> {
    Optional<HeadlineImage> findHeadlineImageByHeadlineId(Long headlineId);
}
